﻿using System.Collections.Generic;

namespace Library.Gsm {
  public interface IGsm {
    string ExeCommand(string command);
    ConnectionType ConnectionType { get; set; }
    void SendMessage(string receiver, string message);
    List<Sms> ListMessages(SmsStatus status);
    void DeleteMessage(SmsDelFlag flag);
    void DeleteMessage(int index);
    bool TestConnection(bool throwInnerException);
    IGsmConnection GsmConnection { get; }
    IGsmIdentification Identification { get; }
    event NewMesssageReceivedEventHandler NewMessageReceived;
  }
}
